package com.example.demo.entity;

import java.util.List;

public class BaseResponse {

    private int code;
    private boolean more;
    private List<Singer> artists;
    private List<Song> songs;

    public boolean isSuccess(){
        return code == 200;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isMore() {
        return more;
    }

    public void setMore(boolean more) {
        this.more = more;
    }

    public List<Singer> getArtists() {
        return artists;
    }

    public void setArtists(List<Singer> artists) {
        this.artists = artists;
    }

    public List<Song> getSongs() {
        return songs;
    }

    public void setSongs(List<Song> songs) {
        this.songs = songs;
    }

}
